package com.test.springbootdemo.exit;

import org.springframework.stereotype.Component;

import javax.annotation.PreDestroy;

//@Component
public class ExitBean2 {


    @PreDestroy
    public void preDes(){
        System.out.println("preDes...");
    }

}
